from rest_framework.generics import ListAPIView

from six_it.models import Channel
from xyz.serializers.channels import ChannelsSerializers


class ChannelsView(ListAPIView):
    queryset = Channel.objects.all().order_by('id')
    serializer_class = ChannelsSerializers
